<div class="index-pannel masthead">
    <div class="container">
        <div class="col-md-12">
            <div class="col-md-12">
                <div class="col-md-3">
                    <input type="file" ng-file-select="onFileSelect($files)">
                </div>
            </div>
            <div class="col-md-12">
                <div class="col-md-3">
                    <div class="progress">
                        <div class="progress-bar" role="progressbar" aria-valuenow="{{upload_percent}}" aria-valuemin="0" aria-valuemax="100" style="width: 100%;">
                            {{upload_percent}}%
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-md-12">
                <div class="col-md-3">
                    <button class="btn btn-default" ng-click="onUpload()">上传</button>
                    <button class="btn btn-default" ng-click="upload.abort()">Cancel Upload</button>
                </div>
            </div>
        </div>
    </div>
</div>
